
// 常量路由
export const constantRoute = [
  {
    path: '/',
    redirect: '/menu',
  },
  {
    path: '/home',
    name: 'Home',
    component: () => import('@/views/home/index.vue'),
    meta: {
      title: '首页',
      showBackBtn: false,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/menu',
    name: 'Menu',
    component: () => import('@/views/menu/index.vue'),
    meta: {
      title: '菜单',
      showBackBtn: false,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/about',
    name: 'About',
    component: () => import('@/views/about/index.vue'),
    meta: {
      title: '消息',
      showBackBtn: false,
      keepAlive: true,
      transitionName: '',
    },
  },
  {
    path: '/me',
    name: 'Me',
    component: () => import('@/views/me/index.vue'),
    meta: {
      title: '我的',
      showBackBtn: false,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/login',
    name: 'Login',
    component: () => import('@/views/login/index.vue'),
    meta: {
      title: '登录',
      showBackBtn: false,
      keepAlive: true,
      // transitionName: 'fade',
      transitionName: '',
    },
  },
  {
    path: '/menuItem',
    name: 'MenuItem',
    component: () => import('@/views/menu/menuItem/index.vue'),
    meta: {
      title: '菜单列表',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/me/webInfo',
    name: 'WebInfo',
    component: () => import('@/views/me/webInfo.vue'),
    meta: {
      title: '关于',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/menuItem/timePiece',
    name: 'TimePiece',
    component: () => import('@/views/menu/menuItem/timePiece.vue'),
    meta: {
      title: '秒表',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/menuItem/compressImg',
    name: 'CompressImg',
    component: () => import('@/views/menu/menuItem/compressImg.vue'),
    meta: {
      title: '图片压缩',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/menuItem/qrcode',
    name: 'Qrcode',
    component: () => import('@/views/menu/menuItem/qrcode.vue'),
    meta: {
      title: '生成二维码',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/menuItem/ocr',
    name: 'Ocr',
    component: () => import('@/views/menu/menuItem/ocr.vue'),
    meta: {
      title: 'ORC识别',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/menuItem/write',
    name: 'Write',
    component: () => import('@/views/menu/menuItem/write.vue'),
    meta: {
      title: '签名板',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/menuItem/exchange',
    name: 'Exchange',
    component: () => import('@/views/menu/menuItem/exchange.vue'),
    meta: {
      title: '汇率转换',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/menuItem/weather',
    name: 'Weather',
    component: () => import('@/views/menu/menuItem/weather.vue'),
    meta: {
      title: '天气情况',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/menuItem/starFortune',
    name: 'StarFortune',
    component: () => import('@/views/menu/menuItem/starFortune.vue'),
    meta: {
      title: '星座运势',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/menuItem/amap',
    name: 'Amap',
    component: () => import('@/views/menu/menuItem/amap.vue'),
    meta: {
      title: '小地图',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/menuItem/homePlace',
    name: 'HomePlace',
    component: () => import('@/views/menu/menuItem/homePlace.vue'),
    meta: {
      title: '归属地查询',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/menuItem/gasolinePrice',
    name: 'GasolinePrice',
    component: () => import('@/views/menu/menuItem/gasolinePrice.vue'),
    meta: {
      title: '今日油价',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/menuItem/call',
    name: 'Call',
    component: () => import('@/views/menu/menuItem/call.vue'),
    meta: {
      title: '拨打电话',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/collect',
    name: 'Collect',
    component: () => import('@/views/collect/index.vue'),
    meta: {
      title: '收藏夹',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/collect/webCollect',
    name: 'WebCollect',
    component: () => import('@/views/collect/webCollect.vue'),
    meta: {
      title: '网页收藏夹',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/collect/photoAlbum',
    name: 'PhotoAlbum',
    component: () => import('@/views/collect/photoAlbum.vue'),
    meta: {
      title: '相册列表',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/collect/photoAlbumDetails',
    name: 'PhotoAlbumDetails',
    component: () => import('@/views/collect/photoAlbumDetails.vue'),
    meta: {
      title: '相册详情',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/demo',
    name: 'Demo',
    component: () => import('@/views/demo/index.vue'),
    meta: {
      title: 'demo',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/demo/deepseek',
    name: 'Deepseek',
    component: () => import('@/views/demo/deepseek.vue'),
    meta: {
      title: 'deepseek',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/weiMusic',
    name: 'WeiMusic',
    component: () => import('@/views/weiMusic/index.vue'),
    meta: {
      title: 'wei音乐',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/weiMusic/weiMusicItem',
    name: 'WeiMusicItem',
    component: () => import('@/views/weiMusic/weiMusicItem.vue'),
    meta: {
      title: 'wei音乐',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/weiGame',
    name: 'WeiGame',
    component: () => import('@/views/weiGame/index.vue'),
    meta: {
      title: 'wei游戏大厅',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },

  {
    path: '/weiGame/woodenFish',
    name: 'WoodenFish',
    component: () => import('@/views/weiGame/woodenFish.vue'),
    meta: {
      title: '功德木鱼',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/weiGame/breakBrick',
    name: 'BreakBrick',
    component: () => import('@/views/weiGame/breakBrick.vue'),
    meta: {
      title: '打砖块',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/weiGame/2048',
    name: '2048',
    component: () => import('@/views/weiGame/2048.vue'),
    meta: {
      title: '2048',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/weiGame/gluttonousSnake',
    name: 'GluttonousSnake',
    component: () => import('@/views/weiGame/gluttonousSnake.vue'),
    meta: {
      title: '贪吃蛇',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/weiGame/fiveChess',
    name: 'FiveChess',
    component: () => import('@/views/weiGame/FiveChess.vue'),
    meta: {
      title: '五子棋',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
  {
    path: '/weiGame/vanishGame',
    name: 'VanishGame',
    component: () => import('@/views/weiGame/vanishGame.vue'),
    meta: {
      title: '消消乐',
      showBackBtn: true,
      keepAlive: false,
      transitionName: '',
    },
  },
]